Skip to content

Split built-in global objects out of Interpreter#31

Merged
memburg merged 1 commit into
mainfrom
issue-23-split-builtins-from-interpreter
Jun 9, 2026
Merged

Split built-in global objects out of Interpreter#31
memburg merged 1 commit into
mainfrom
issue-23-split-builtins-from-interpreter

Conversation

@memburg

@memburg memburg commented Jun 9, 2026

Copy link
Copy Markdown
Owner

What changed

  • extract built-in global construction and related helpers from Interpreter into a focused module in src/giavascript/interpreter_builtins.cr
  • include the new module in Interpreter so execution behavior and method contracts remain unchanged
  • keep JSON conversion/stringify internals in Interpreter to limit refactor scope and keep review focused

Verification

  • crystal spec

Closes #23

@memburg memburg self-assigned this Jun 9, 2026
@memburg memburg added the enhancement New feature or request label Jun 9, 2026
@memburg memburg merged commit 7e0f911 into main Jun 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split built-in global objects out of Interpreter

1 participant